﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace CooStationsToolsCore.model
{
   public class Div
    {
        string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        string id;

        public string Id
        {
            get { return id; }
            set { id = value; }
        }
        int x;

        public int X
        {
            get { return x; }
            set { x = value; }
        }
        int y;

        public int Y
        {
            get { return y; }
            set { y = value; }
        }
        int width;

        public int Width
        {
            get { return width; }
            set { width = value; }
        }
        int height;

        public int Height
        {
            get { return height; }
            set { height = value; }
        }
        int alpha;

        public int Alpha
        {
            get { return alpha; }
            set { alpha = value; }
        }

        string onClick;

        public string OnClick
        {
            get { return onClick; }
            set { onClick = value; }
        }

        string onRollOver;

        public string OnRollOver
        {
            get { return onRollOver; }
            set { onRollOver = value; }
        }

        string onRollOut;

        public string OnRollOut
        {
            get { return onRollOut; }
            set { onRollOut = value; }
        }

        DataTable dt;
        public DataTable Dt
        {
            get { return dt; }
            set { dt = value; }
        }

        public Div()
        {
            dt = new DataTable();
            dt.Columns.Add("type");
            dt.Columns.Add(new DataColumn("object", typeof(Object)));

        }
    }
}
